import request from '../utils/Request';

const studentApi={
    loadList(page,pageSize,obj) {
        return request({
            url: '/specification/loadList.do',
            method: 'get',
            params:{
                page,
                pageSize
            },
            data:obj
        })
    },
    addStudent(student){
        return request({
            url:'/student/addStudent.do',
            method:'post',
            data:student
        })
    }
}


export default studentApi
